package com.ys.entity.overseas;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TOS_ProductActive", catalog="Id")
public class TosProductActive extends BaseEntity<TosProductActive> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="ProductCode", nameJava="productCode", typeDataBase="varchar")
	private String productCode;
	@YsField(nameDataBase="ActiveTitle", nameJava="activeTitle", typeDataBase="varchar")
	private String activeTitle;
	@YsField(nameDataBase="TypeSign", nameJava="typeSign", typeDataBase="varchar")
	private String typeSign;
	@YsField(nameDataBase="TypeLevelOne", nameJava="typeLevelOne", typeDataBase="varchar")
	private String typeLevelOne;
	@YsField(nameDataBase="TypeLevelTwo", nameJava="typeLevelTwo", typeDataBase="varchar")
	private String typeLevelTwo;
	@YsField(nameDataBase="TypeLevelThree", nameJava="typeLevelThree", typeDataBase="varchar")
	private String typeLevelThree;
	@YsField(nameDataBase="TypeLevelFour", nameJava="typeLevelFour", typeDataBase="varchar")
	private String typeLevelFour;
	@YsField(nameDataBase="TypeLevelFive", nameJava="typeLevelFive", typeDataBase="varchar")
	private String typeLevelFive;
	@YsField(nameDataBase="TypeLevelSix", nameJava="typeLevelSix", typeDataBase="varchar")
	private String typeLevelSix;
	@YsField(nameDataBase="Keyword", nameJava="keyword", typeDataBase="varchar")
	private String keyword;
	@YsField(nameDataBase="UnitInfo", nameJava="unitInfo", typeDataBase="varchar")
	private String unitInfo;
	@YsField(nameDataBase="ProductLong", nameJava="productLong", typeDataBase="decimal")
	private BigDecimal productLong;
	@YsField(nameDataBase="ProductWide", nameJava="productWide", typeDataBase="decimal")
	private BigDecimal productWide;
	@YsField(nameDataBase="ProductHigh", nameJava="productHigh", typeDataBase="decimal")
	private BigDecimal productHigh;
	@YsField(nameDataBase="PackLong", nameJava="packLong", typeDataBase="decimal")
	private BigDecimal packLong;
	@YsField(nameDataBase="PackWide", nameJava="packWide", typeDataBase="decimal")
	private BigDecimal packWide;
	@YsField(nameDataBase="PackHigh", nameJava="packHigh", typeDataBase="decimal")
	private BigDecimal packHigh;
	@YsField(nameDataBase="SuggestSellAmount", nameJava="suggestSellAmount", typeDataBase="decimal")
	private BigDecimal suggestSellAmount;
	@YsField(nameDataBase="Material", nameJava="material", typeDataBase="varchar")
	private String material;
	@YsField(nameDataBase="ColourInfo", nameJava="colourInfo", typeDataBase="varchar")
	private String colourInfo;
	@YsField(nameDataBase="OriginInfo", nameJava="originInfo", typeDataBase="varchar")
	private String originInfo;
	@YsField(nameDataBase="AnnexFile", nameJava="annexFile", typeDataBase="varchar")
	private String annexFile;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TosProductActive setId(Long id) {
		this.id = id;
		return this;
	}
	public String getProductCode() {
		return productCode;
	}
	public TosProductActive setProductCode(String productCode) {
		this.productCode = productCode;
		return this;
	}
	public String getActiveTitle() {
		return activeTitle;
	}
	public TosProductActive setActiveTitle(String activeTitle) {
		this.activeTitle = activeTitle;
		return this;
	}
	public String getTypeSign() {
		return typeSign;
	}
	public TosProductActive setTypeSign(String typeSign) {
		this.typeSign = typeSign;
		return this;
	}
	public String getTypeLevelOne() {
		return typeLevelOne;
	}
	public TosProductActive setTypeLevelOne(String typeLevelOne) {
		this.typeLevelOne = typeLevelOne;
		return this;
	}
	public String getTypeLevelTwo() {
		return typeLevelTwo;
	}
	public TosProductActive setTypeLevelTwo(String typeLevelTwo) {
		this.typeLevelTwo = typeLevelTwo;
		return this;
	}
	public String getTypeLevelThree() {
		return typeLevelThree;
	}
	public TosProductActive setTypeLevelThree(String typeLevelThree) {
		this.typeLevelThree = typeLevelThree;
		return this;
	}
	public String getTypeLevelFour() {
		return typeLevelFour;
	}
	public TosProductActive setTypeLevelFour(String typeLevelFour) {
		this.typeLevelFour = typeLevelFour;
		return this;
	}
	public String getTypeLevelFive() {
		return typeLevelFive;
	}
	public TosProductActive setTypeLevelFive(String typeLevelFive) {
		this.typeLevelFive = typeLevelFive;
		return this;
	}
	public String getTypeLevelSix() {
		return typeLevelSix;
	}
	public TosProductActive setTypeLevelSix(String typeLevelSix) {
		this.typeLevelSix = typeLevelSix;
		return this;
	}
	public String getKeyword() {
		return keyword;
	}
	public TosProductActive setKeyword(String keyword) {
		this.keyword = keyword;
		return this;
	}
	public String getUnitInfo() {
		return unitInfo;
	}
	public TosProductActive setUnitInfo(String unitInfo) {
		this.unitInfo = unitInfo;
		return this;
	}
	public BigDecimal getProductLong() {
		return productLong;
	}
	public TosProductActive setProductLong(BigDecimal productLong) {
		this.productLong = productLong;
		return this;
	}
	public BigDecimal getProductWide() {
		return productWide;
	}
	public TosProductActive setProductWide(BigDecimal productWide) {
		this.productWide = productWide;
		return this;
	}
	public BigDecimal getProductHigh() {
		return productHigh;
	}
	public TosProductActive setProductHigh(BigDecimal productHigh) {
		this.productHigh = productHigh;
		return this;
	}
	public BigDecimal getPackLong() {
		return packLong;
	}
	public TosProductActive setPackLong(BigDecimal packLong) {
		this.packLong = packLong;
		return this;
	}
	public BigDecimal getPackWide() {
		return packWide;
	}
	public TosProductActive setPackWide(BigDecimal packWide) {
		this.packWide = packWide;
		return this;
	}
	public BigDecimal getPackHigh() {
		return packHigh;
	}
	public TosProductActive setPackHigh(BigDecimal packHigh) {
		this.packHigh = packHigh;
		return this;
	}
	public BigDecimal getSuggestSellAmount() {
		return suggestSellAmount;
	}
	public TosProductActive setSuggestSellAmount(BigDecimal suggestSellAmount) {
		this.suggestSellAmount = suggestSellAmount;
		return this;
	}
	public String getMaterial() {
		return material;
	}
	public TosProductActive setMaterial(String material) {
		this.material = material;
		return this;
	}
	public String getColourInfo() {
		return colourInfo;
	}
	public TosProductActive setColourInfo(String colourInfo) {
		this.colourInfo = colourInfo;
		return this;
	}
	public String getOriginInfo() {
		return originInfo;
	}
	public TosProductActive setOriginInfo(String originInfo) {
		this.originInfo = originInfo;
		return this;
	}
	public String getAnnexFile() {
		return annexFile;
	}
	public TosProductActive setAnnexFile(String annexFile) {
		this.annexFile = annexFile;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TosProductActive setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TosProductActive setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TosProductActive setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TosProductActive tosProductActive(
		String productCode,
		String activeTitle,
		String typeSign,
		String typeLevelOne,
		String typeLevelTwo,
		String typeLevelThree,
		String typeLevelFour,
		String typeLevelFive,
		String typeLevelSix,
		String keyword,
		String unitInfo,
		BigDecimal productLong,
		BigDecimal productWide,
		BigDecimal productHigh,
		BigDecimal packLong,
		BigDecimal packWide,
		BigDecimal packHigh,
		BigDecimal suggestSellAmount,
		String material,
		String colourInfo,
		String originInfo,
		String annexFile,
		Integer status
			) {
		TosProductActive entity = new TosProductActive();
		entity.setProductCode(productCode);
		entity.setActiveTitle(activeTitle);
		entity.setTypeSign(typeSign);
		entity.setTypeLevelOne(typeLevelOne);
		entity.setTypeLevelTwo(typeLevelTwo);
		entity.setTypeLevelThree(typeLevelThree);
		entity.setTypeLevelFour(typeLevelFour);
		entity.setTypeLevelFive(typeLevelFive);
		entity.setTypeLevelSix(typeLevelSix);
		entity.setKeyword(keyword);
		entity.setUnitInfo(unitInfo);
		entity.setProductLong(productLong);
		entity.setProductWide(productWide);
		entity.setProductHigh(productHigh);
		entity.setPackLong(packLong);
		entity.setPackWide(packWide);
		entity.setPackHigh(packHigh);
		entity.setSuggestSellAmount(suggestSellAmount);
		entity.setMaterial(material);
		entity.setColourInfo(colourInfo);
		entity.setOriginInfo(originInfo);
		entity.setAnnexFile(annexFile);
		entity.setStatus(status);
		return entity;
	}
}